package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 收款确认记录表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_gathering_record")
@TableAlias("gatheringRecord")
@ApiModel(value = "BusGatheringRecord对象", description = "收款确认记录表")
public class BusGatheringRecord extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "gatheringRecordId", type = IdType.ASSIGN_ID)
    private Long gatheringRecordId;

    @ApiModelProperty(value = "订单（线下支付的订单Id）")
    private Long orderId;

    @ApiModelProperty(value = "支付方式Id")
    private Long paywayId;

    @ApiModelProperty(value = "销售人员备注")
    private String remark;

    @ApiModelProperty(value = "支付凭证图片")
    private String payVoucherImg;

    @ApiModelProperty(value = "销售Id")
    private Long employeeId;

    @ApiModelProperty(value = "1(销售未确认，2销售已确认，3财务已确认，4财务冻结)")
    private Integer isCheck;

    @ApiModelProperty(value = "机场Id")
    private Long airportId;


}
